import { createRouter, createWebHashHistory } from 'vue-router'

const routes = [
  {
    path: '/',
    redirect: '/Kaipian'
  },
  {
    path: '/Kaipian',
    name: 'Kaipian',
    component: () => import('../views/Kaipian.vue')
  },
  {
    path: '/MainView',
    name: 'MainView',
    component: () => import('../views/MainView.vue')
  }
  // {
  // path: '/Xiangmu',
  //   name: 'Xiangmu',
  //   component: () => import('../views/Xiangmu360.vue')
  // },
  // {
  //   path: '/XiangmuFushi',
  //   name: 'XiangmuFushi',
  //   component: () => import('../views/XiangmuFushi.vue')
  // },
  // {
  //   path: '/MainPage',
  //   name: 'MainPage',
  //   component: () => import('../views/MainPage.vue')
  // },
]

const router = new createRouter({
  history: createWebHashHistory(),
  routes
})

export default router
